package com.peng.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.peng.yygh.model.user.UserInfo;
import com.peng.yygh.vo.user.LoginVo;
import com.peng.yygh.vo.user.UserAuthVo;
import com.peng.yygh.vo.user.UserInfoQueryVo;

import java.util.Map;

/**
* @author dell
* @description 针对表【user_info(用户表)】的数据库操作Service
* @createDate 2022-06-07 14:03:27
*/
public interface UserInfoService extends IService<UserInfo> {

    Map<String, Object> login(LoginVo loginVo);

    UserInfo getByOpenid(String openid);

    void userAuth(Long userId, UserAuthVo userAuthVo);

    Page<UserInfo> selectPage(Page<UserInfo> page1, UserInfoQueryVo userInfoQueryVo);

    Map<String, Object> show(Long userId);
}
